From: Bastien Nocera Date: Wed, 31 May 2017 14:03:16 +0000 (+0200) Subject: portalHelper: Fix auth URI not being passed to window X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~316 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=50d37e74a31e4a0ce6218fa3a875fb8dac1c686f;p=gnome-shell.git portalHelper: Fix auth URI not being passed to window Gjs-Message: JS WARNING: [resource:///org/gnome/shell/portalHelper/main.js 360]: reference to undefined property top.uri is caused by the URI variable actually being called "url". https://bugzilla.gnome.org/show_bug.cgi?id=783286 --- diff --git a/js/portalHelper/main.js b/js/portalHelper/main.js index 39e0c2b54..31ae969e3 100644 --- a/js/portalHelper/main.js +++ b/js/portalHelper/main.js @@ -357,7 +357,7 @@ const WebPortalHelper = new Lang.Class({ if (top.window != null) return; - top.window = new PortalWindow(this, top.uri, top.timestamp, Lang.bind(this, function(result) { + top.window = new PortalWindow(this, top.url, top.timestamp, Lang.bind(this, function(result) { this._dbusImpl.emit_signal('Done', new GLib.Variant('(ou)', [top.connection, result])); })); },